* font.c, fontset.c: Make symbols static if they're not exported.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Apr 2011 23:22:35 +0000 (16:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Apr 2011 23:22:35 +0000 (16:22 -0700)
commit336f525e9b527ba961496d9716fb97b179000271
tree56cf40567f3952612bdf5d344656af53cf229731
parenta79ee7c41304bc405537be1de41a1dab542676fc
* font.c, fontset.c: Make symbols static if they're not exported.

* dispextern.h (FACE_SUITABLE_FOR_ASCII_CHAR_P): New macro.
(FACE_SUITABLE_FOR_CHAR_P): Use it.
* font.c (font_close_object): Now static.
* font.h (font_close_object): Remove.
* fontset.c (FONTSET_OBJLIST): Remove.
(free_realized_fontset) #if-0 the body, which does nothing.
(face_suitable_for_char_p): #if-0, as it's never called.
* fontset.h (face_suitable_for_char_p): Remove decl.
* xfaces.c (face_at_string_position): Use
FACE_SUITABLE_FOR_ASCII_CHAR_P, not FACE_SUITABLE_FOR_CHAR_P,
since 0 is always ASCII.
src/ChangeLog
src/dispextern.h
src/font.c
src/font.h
src/fontset.c
src/fontset.h
src/xfaces.c